export const readFileTxtByUrl = async (url) => {
  const response = await fetch(url)
  if (!response.ok) {
    throw new Error(`文件加载失败，状态码：${response.status}`)
  }
  // 获取文件内容
  const text = await response.text()
  return text
}
